This replication archive allows replicating all the figures and tables that are reported in the main manuscript and the supplementary materials of "How Group Appeals Shape Candidate Support: The Role of Group Membership, Identity Strength, and Deservingness Perceptions".

# SET-UP FOR REPLICATION

All analyses were conducted in Stata 18. To easily replicate, download all the materials and save them in a 'replication materials' folder on your local drive. In that local folder, create three subfolders:
1. data 
2. dofiles
3. tables and figures

In the data folder, save the following three .dta files that are part of this repository:
1. pilot.dta
2. study1.dta
3. study2-coded.dta

In the dofiles folder, save the following three .do files that are part of this repository:
1. pilot-replication.do
2. study1-replication.do
3. study2-replication.do

Finally, keep the tables and figures folder empty. This folder will be populated with tables (in .tex) and figures as you run the different dofiles.

# REPLICATING THE ANALYSES

To replicate the analyses, open the dofiles and adjust the paths for the working directory so it matches the location where you saved the 'replication materials' folder.

The study1-replication dofile replicates the figures and tables related to Study 1. This includes analyses that are reported in the manuscript as well as additional tests and analyses that are reported in the supplementary materials.

The pilot-replication dofile replicates the results reported in Appendix H, comparing a contrasting with a simplified vignette.

Finally, the study2-replication dofile reproduces the figures and tables related to Study 2. This includes the results reported in the manuscript as well as the additional analyses that are part of the supplementary materials.





